import { request } from "@/utils/request.js"

//登录
export const apiLogin = (data={}) =>{
  return request({
    url:'/Wechat/login',
    method:'post',
    data
  })
}

//请求浏览历史
export const apiGetHistory = (data = {}) => {
  return request({
    url: "/forum/article/history",
    method: 'post',
    data
  });
}

//修改个人信息
export const apiSetInfo = (data = {}) => {
  return request({
    url: "/Wechat/update",
    method: 'post',
    data
  });
}